home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19941221-19950208
/
000195_news@columbia.edu_Wed Jan 18 05:13:12 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA20262
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 18 Jan 1995 11:52:35 -0500
Received: by apakabar.cc.columbia.edu id AA08031
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 18 Jan 1995 11:52:27 -0500
Path: news.columbia.edu!sol.ctr.columbia.edu!news.cs.columbia.edu!news.pipeline.com!news.intercon.com!udel!news.mathworks.com!news.alpha.net!uwm.edu!msunews!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!yoyo.aarnet.edu.au!goliath.camtech.com.au!gateway.dircsa.org.au!gateway.dircsa.org.au!not-for-mail
From: arthur@gateway.dircsa.org.au (Arthur Marsh)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: RESET MODEM HELP !!!
Date: 18 Jan 1995 15:43:12 +1030
Organization: DIRCSA - Disability Information and Resource Centre
Lines: 52
Message-Id: <3fi818$bei@gateway.dircsa.org.au>
References: <3f3n2f$olt@newsgate.dircon.co.uk>
Nntp-Posting-Host: gateway.dircsa.org.au
X-Newsreader: TIN [version 1.1 PL8]
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Spencer Clay (edge@dircon.co.uk) wrote:
: Please can anyone help us to reset a modem,
: By using a batch file for DOS,(possibly Kermit).
: We know the AT commands to manually do this using Kermit,
: they are:
: AT&F8
: AT&f0
: AT&w0
: ATZ
: But we want to be able to send these commands directly
: to our modem with a one liner.i.e from the Dos Command Line.
: Please help us we are stupid!!!!!!!!
I use the command:
kermit take atz.tak
MSKERMIT.INI:
set flow rts/cts
set block 3
set window 3
set send pack 4000
set receive pack 4000
set port 2
take vt300.ini
set term wrap on
ATZ.TAK:
set port 2
def \%a 0
:try
increment \%a
if > \%a 10 goto end
echo modem initialisation attempt \%a\13\10
output ATZ\13
input 4 OK
if success goto end
if > \%a 2 log session c:\ff\call.log
write session \v(date) \v(time) ATZ \%a FAILED\13\10
goto try
:end
quit
This is for "fixing" stubborn modems.
Does anyone do this kind of thing for modems on Unix machines?
--
Arthur Marsh, telephone +61-8-370-2365, fax +61-8-370-2133, +61-8-223-5082
arthur@gateway.dircsa.org.au, arthur@cswamp.apana.org.au
.endofsig